package indi.liangli;


import ch.qos.logback.core.net.SyslogOutputStream;
import org.springframework.context.annotation.Bean;


@RpcService(value = IHelloService.class,version = "v1.0")
public class HelloServiceImpl implements IHelloService {
    @Override
    public String sayHelloWord(String str) {
        return "hello "+str;
    }

    @Override
    public String saveUser(User user) {
        System.out.println("save user"+user.toString());
        return "success";

    }
}
